package com.gxa.service.parking.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.gxa.entity.parking.VehicleList;
import com.gxa.entity.parking.VehicleSelect;
import com.gxa.mapper.parking.VehicleListMapper;
import com.gxa.service.parking.VehicleListService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;


/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author yjl
 * @since 2022-10-11 10:05:39
 */
@Service
public class VehicleListServiceImpl extends ServiceImpl<VehicleListMapper, VehicleList> implements VehicleListService {
    @Autowired
    private VehicleListMapper vehicleListMapper;

    @Override
    public List<VehicleList> selectAll() {

        return vehicleListMapper.selectAll();
    }

    @Override
    public List<VehicleList> selectCondition(VehicleSelect vehicleSelect) {
        return vehicleListMapper.selectByCondition(vehicleSelect);
    }

    @Override
    public VehicleList selectById(Integer id) {
        return vehicleListMapper.selectByid(id);
    }

}
